package com.hk.test;

import com.hk.eun.IMagic;
import com.hk.eun.MagicFactory;
import com.hk.eun.MagicNumberException;
/*dsfsdafsdf*/
public class MagicFactoryMain {

	public static void main(String[] args) {
		int n=7;
		//This is the last commit tonight.
		try {
			IMagic magic=MagicFactory.factory(n) ;
			magic.make();
			magic.print();
		} catch (MagicNumberException e) {
			System.out.println(e);
		}

	}
}
